<?php
$handle = fopen('title.txt','rb');
$stat = flock($handle,LOCK_SH);
echo @fgetss($handle);
flock($handle,LOCK_UN);